﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WaterRevenueMS.Componnent.Data
{
    public interface IUnitOfWork
    {
        bool IsCommitted { get; set; }

        int Commit(bool validateOnSaveEnable=true);

        void Rollback();
    }
}
